package com.myProject.bean;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class TThing {

  private int pkId;
  private String thingName;
  @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
  private Date time;
  private Date startTime;
  private Date endTime;
  private TClass tClass;
  private String method;
  private String state;
  private String describes;
  private String type;
  private String lose;
  private String found;
  private String size;


  public Date getStartTime() {
    return startTime;
  }

  public void setStartTime(Date startTime) {
    this.startTime = startTime;
  }

  public Date getEndTime() {
    return endTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

  public TClass gettClass() {
    return tClass;
  }

  public void settClass(TClass tClass) {
    this.tClass = tClass;
  }

  public int getPkId() {
    return pkId;
  }

  public void setPkId(int pkId) {
    this.pkId = pkId;
  }

  public String getThingName() {
    return thingName;
  }

  public void setThingName(String thingName) {
    this.thingName = thingName;
  }

  public Date getTime() {
    return time;
  }

  public void setTime(Date time) {
    this.time = time;
  }

  public String getMethod() {
    return method;
  }

  public void setMethod(String method) {
    this.method = method;
  }

  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }

  public String getDescribes() {
    return describes;
  }

  public void setDescribes(String describes) {
    this.describes = describes;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getLose() {
    return lose;
  }

  public void setLose(String lose) {
    this.lose = lose;
  }

  public String getFound() {
    return found;
  }

  public void setFound(String found) {
    this.found = found;
  }

  public String getSize() {
    return size;
  }

  public void setSize(String size) {
    this.size = size;
  }


  @Override
  public String toString() {
    return "TThing{" +
            "pkId=" + pkId +
            ", thingName='" + thingName + '\'' +
            ", time=" + time +
            ", startTime=" + startTime +
            ", endTime=" + endTime +
            ", tClass=" + tClass +
            ", method='" + method + '\'' +
            ", state='" + state + '\'' +
            ", describe='" + describes + '\'' +
            ", type='" + type + '\'' +
            ", lose='" + lose + '\'' +
            ", found='" + found + '\'' +
            ", size='" + size + '\'' +
            '}';
  }
}
